package com.example.housingRentalSystem.service;

import com.example.housingRentalSystem.bean.Feedback;
import com.example.housingRentalSystem.utils.PageRequest;
import com.example.housingRentalSystem.utils.PageResponse;

/**
 * @author 王硕
 * @version jdk21
 * @className FeedbackService
 * @description
 * @date 2025/3/24 10:42
 */
public interface FeedbackService {

    void createFeedback(Feedback feedback, Integer userId);


    void replyFeedback(Integer feedbackId, String reply);


    void deleteFeedback(Integer feedbackId, Integer userId);


    PageResponse<Feedback> getFeedbackList(Integer status, Integer userId, PageRequest pageRequest);
    int selectCountFeedback();
}